﻿using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Text;

namespace THEMXOASUA
{
    class SQLDATABASE
    {
        public SQLDATABASE()
        {}
        public static string ConnectionString
        {
            get { return "Data Source=" + APLICATIONCONFIG.Severname + ";lnitial Catalog=qlvt; User Id=" + APLICATIONCONFIG.Usenamedb + ";Password=" + APLICATIONCONFIG.Passworddb; }
        }

        public static SqlConnection Connection
        {
            get
            {
                SqlConnection conn = new SqlConnection();
                conn.ConnectionString = @"Data Source=QUYNHUYEN\SQLEXPRESS;Initial Catalog=qlvt; User Id=sa;Password=sa";
                return conn;
            }
        }
    }
 }
